#pragma once
#include <boost/shared_ptr.hpp>
#include <map>
#include <string>

using namespace boost;
class JConfig
{
public:
	static bool Init(char* configFileName);
        JConfig();
	//static boost::shared_ptr<JConfig> Instance();
	~JConfig(void);
	static std::string GetConfig(std::string s);
private:
	//static boost::shared_ptr<JConfig> instance;
	static void PutConfig(std::string key,std::string value);
	
	static void ReadConfig(char* configFileName);
	static std::map<std::string,std::string> config;
};

